package com.yc.cloud.portal.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yc.cloud.basic.dto.BaseQueryParam;
import com.yc.cloud.entity.SysDict;

import java.util.List;

/**
 * <p>
 * 字典表 服务类
 * </p>
 *
 * @author Yancy
 * @since 2024-01-24
 */
public interface SysDictService extends IService<SysDict> {

    /***
     * description:查询列表
     * @param param 查询条件
     * @return 数据信息
     */
    IPage<SysDict> list(BaseQueryParam param);

    SysDict convertVo(SysDict sysdict);

    List<SysDict> convertVo(List<SysDict> sysdictList);

    SysDict create(SysDict param);

    SysDict get(Long id);

    SysDict update(Long id, SysDict sysdict);

    boolean delete(Long id);

    SysDict getByDictName(String dictName);
}



